package com.ailink.design.pattern.observer.java;

import java.util.Observable;

/**
 * Created by Administrator on 2018/8/14
 */
public class ConcreteWeatherSubject extends Observable {
    private String content;

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
        this.setChanged();
        this.notifyObservers(content);
//        this.notifyObservers();
    }
}
